package com.aismy.admin.service;

import com.aismy.admin.entity.QuestionOption;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface QuestionOptionService extends IService<QuestionOption> {
    
    List<QuestionOption> getOptionsByQuestionId(Long questionId);
    
    void addOption(Long questionId, QuestionOption option);
    
    void updateOption(Long questionId, QuestionOption option);
    
    void deleteOption(Long questionId, Long optionId);
} 